
//app.tsx相当于入口文件
export function onRouteChange({location,routes,action}:{location:any,routes:any,action:any}){
   console.log(location.pathname);
}